package com.dragon.modules.yuegou.entity.lot;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 会员参与活动信息表实体类<br>
 * 对应的表为：lot_activity_join<br>
 * 
 * @author pbuilder generated
 * @date 2019-10-29 16:09:28
 * @company sgy
 * @version 2.0
 */
@TableName("lot_activity_join")
@ApiModel(description = "会员参与活动信息表")
public class ActivityJoinEntity {

    /**  */
	protected String id;

    /** 会员ID */
	@ApiModelProperty("会员ID")
	protected String memberId;

    /** 活动ID */
	@ApiModelProperty("活动ID")
	protected String activityId;

    /** 会员头像 */
	@ApiModelProperty("会员头像")
	protected String memberHeadImg;

    /** 会员昵称 */
	@ApiModelProperty("会员昵称")
	protected String memberNickName;

    /** 会员分享次数 */
	@ApiModelProperty("会员分享次数")
	protected Integer shareNum;

    /** 订单号 */
	@ApiModelProperty("订单号")
	protected String orderNo;

    /** 是否中奖 0-未中奖；1-已中奖 */
	@ApiModelProperty("是否中奖 0-未中奖；1-已中奖")
	protected Boolean isPrize;

    /** 创建时间 */
	@ApiModelProperty("创建时间")
	protected LocalDateTime createdTime;

	/**
	 * 构造一个空会员参与活动信息表实体对象
	 */
	public ActivityJoinEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个会员参与活动信息表实体对象
	 * 
	 * @param other 其它对象
	 */
	public ActivityJoinEntity(ActivityJoinEntity other){
		super();
     	this.id = other.id;
     	this.memberId = other.memberId;
     	this.activityId = other.activityId;
     	this.memberHeadImg = other.memberHeadImg;
     	this.memberNickName = other.memberNickName;
     	this.shareNum = other.shareNum;
     	this.orderNo = other.orderNo;
     	this.isPrize = other.isPrize;
     	this.createdTime = other.createdTime;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取会员ID
	 * 
	 * @return memberId 会员ID
	 */
	public String getMemberId() {
		return memberId;
	}
  	
	/**
	 * 设置会员ID
	 * 
	 * @param memberId 会员ID
	 */
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	/**
	 * 获取活动ID
	 * 
	 * @return activityId 活动ID
	 */
	public String getActivityId() {
		return activityId;
	}
  	
	/**
	 * 设置活动ID
	 * 
	 * @param activityId 活动ID
	 */
	public void setActivityId(String activityId) {
		this.activityId = activityId;
	}

	/**
	 * 获取会员头像
	 * 
	 * @return memberHeadImg 会员头像
	 */
	public String getMemberHeadImg() {
		return memberHeadImg;
	}
  	
	/**
	 * 设置会员头像
	 * 
	 * @param memberHeadImg 会员头像
	 */
	public void setMemberHeadImg(String memberHeadImg) {
		this.memberHeadImg = memberHeadImg;
	}

	/**
	 * 获取会员昵称
	 * 
	 * @return memberNickName 会员昵称
	 */
	public String getMemberNickName() {
		return memberNickName;
	}
  	
	/**
	 * 设置会员昵称
	 * 
	 * @param memberNickName 会员昵称
	 */
	public void setMemberNickName(String memberNickName) {
		this.memberNickName = memberNickName;
	}

	/**
	 * 获取会员分享次数
	 * 
	 * @return shareNum 会员分享次数
	 */
	public Integer getShareNum() {
		return shareNum;
	}
  	
	/**
	 * 设置会员分享次数
	 * 
	 * @param shareNum 会员分享次数
	 */
	public void setShareNum(Integer shareNum) {
		this.shareNum = shareNum;
	}

	/**
	 * 获取订单号
	 * 
	 * @return orderNo 订单号
	 */
	public String getOrderNo() {
		return orderNo;
	}
  	
	/**
	 * 设置订单号
	 * 
	 * @param orderNo 订单号
	 */
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	/**
	 * 获取是否中奖 0-未中奖；1-已中奖
	 * 
	 * @return isPrize 是否中奖 0-未中奖；1-已中奖
	 */
	public Boolean getIsPrize() {
		return isPrize;
	}
  	
	/**
	 * 设置是否中奖 0-未中奖；1-已中奖
	 * 
	 * @param isPrize 是否中奖 0-未中奖；1-已中奖
	 */
	public void setIsPrize(Boolean isPrize) {
		this.isPrize = isPrize;
	}

	/**
	 * 获取创建时间
	 * 
	 * @return createdTime 创建时间
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置创建时间
	 * 
	 * @param createdTime 创建时间
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

    public String toString() {
		return new StringBuilder().append("ActivityJoinEntity{").
			append("id=").append(id).
			append(",memberId=").append(memberId).
			append(",activityId=").append(activityId).
			append(",memberHeadImg=").append(memberHeadImg).
			append(",memberNickName=").append(memberNickName).
			append(",shareNum=").append(shareNum).
			append(",orderNo=").append(orderNo).
			append(",isPrize=").append(isPrize).
			append(",createdTime=").append(createdTime).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public ActivityJoinEntity copy() {
		return new ActivityJoinEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /** 会员ID */
	public static final String COL_MEMBER_ID = "member_id";

    /** 活动ID */
	public static final String COL_ACTIVITY_ID = "activity_id";

    /** 会员头像 */
	public static final String COL_MEMBER_HEAD_IMG = "member_head_img";

    /** 会员昵称 */
	public static final String COL_MEMBER_NICK_NAME = "member_nick_name";

    /** 会员分享次数 */
	public static final String COL_SHARE_NUM = "share_num";

    /** 订单号 */
	public static final String COL_ORDER_NO = "order_no";

    /** 是否中奖 0-未中奖；1-已中奖 */
	public static final String COL_IS_PRIZE = "is_prize";

    /** 创建时间 */
	public static final String COL_CREATED_TIME = "created_time";
}
